this.actor.hide();
},
- _keyFocusIn: function(icon) {
- this.emit('key-focus-in', icon);
+ _keyFocusIn: function(actor) {
+ this.emit('key-focus-in', actor);
},
_setMoreIconVisible: function(visible) {
this._container = new St.BoxLayout({ style_class: 'search-section-content' });
this.providerIcon = new ProviderIcon(provider);
+ this.providerIcon.connect('key-focus-in', Lang.bind(this, this._keyFocusIn));
this.providerIcon.connect('clicked', Lang.bind(this,
function() {
provider.launchSearch(this._terms);
return false;
},
- _keyFocusIn: function(provider, icon) {
- Util.ensureActorVisibleInScrollView(this._scrollView, icon);
+ _keyFocusIn: function(provider, actor) {
+ Util.ensureActorVisibleInScrollView(this._scrollView, actor);
},
createProviderDisplay: function(provider) {